|
![](/i/fill.gif) |
couldn't you make copies of the original object with the ior, break the
copies up using csg difference into the parts with different ior values
and then csg them together? of course, this would only work well with
simple geometries, but it would be something.
Artemia Salina wrote:
>
> Pardon me if this isn't the correct group to bring this up in.
> It probably is if there is no work-around for the effect I want
> to create.
>
> I've been working with media lately, trying to model realistic
> flames and smoke, and while doing so it occured to me that it'd
> be nice to be able to have the ior of a material vary in a controlled
> way. Does anyone know how this can be done (or simulated) in
> MegaPov?
>
> If not, I wonder how difficult it would be to extend MegaPov's
> interior ior to optionally use an ior map, much like the density
> statement for media?
>
> Something like:
>
> interior{
> ior{
> bozo
> color_map{
> [0.0 rgb 0]
> [0.2 rgb 1]
> [0.5 rgb 1.2]
> [1.0 rgb 2.5]
> }
> }
> }
>
> TIA
Post a reply to this message
|
![](/i/fill.gif) |